.teacher {
  padding-bottom: 120rpx;

  .top_box {
    margin: 0 60rpx;
    margin-top: 35rpx;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 50rpx;
    border-bottom: 2rpx solid rgba(0, 0, 0, 0.15);

    .left_box {
      .left_line {
        color: #000000;
        font-size: 30rpx;
        margin-bottom: 35rpx;

        &:last-child {
          margin-bottom: 0;
        }
      }
    }

    .right_box {
      text-align: center;
      font-size: 30rpx;

      .head {
        width: 200rpx;
        height: 200rpx;
        border-radius: 500rpx;
      }
    }
  }

  .bottom_box {
    margin: 0 35rpx;
    margin-top: 50rpx;

    .tab_list {
      display: flex;
      font-size: 25rpx;

      .tab_item {
        padding: 15rpx;
        border-radius: 0 20rpx 0 0;
        width: 120rpx;
        text-align: center;
      }

      .current_tab {
        font-weight: 900;
        color: #D4A04A;
      }

      :nth-child(1) {
        background-color: #fff;
        position: relative;
        z-index: 3;
      }

      :nth-child(2) {
        background-color: #D8E9E3;
        position: relative;
        z-index: 2;
        left: -10rpx;
      }

      :nth-child(3) {
        background-color: #FFEBD0;
        position: relative;
        z-index: 1;
        left: -20rpx;
      }
    }

    .bottom_content {
      box-shadow: 0rpx 0rpx 10rpx rgba(0, 0, 0, 0.3);

      .date_picker {
        padding: 15rpx;
        margin-left: 10rpx;
      }

      .bottom_content_list {
        margin-bottom: 100rpx;
        background-color: #fff;
        padding: 15rpx;

        .item {
          display: flex;
          align-items: center;
          padding: 35rpx 20rpx;
          margin: 0 10rpx;
          background-color: #D8E9E3;
          margin-bottom: 10rpx;
          border-radius: 10rpx;

          .left_box {
            padding-right: 50rpx;
            border-right: #9D9D9D solid 2rpx;
            height: 130rpx;

            .name {
              font-size: 26rpx;
              margin-top: 30rpx;
              color: #000;
              // white-space: nowrap;
              width: 140rpx;
              // overflow: hidden;
              // text-overflow: ellipsis;
            }

            .location {
              font-size: 24rpx;
              color: #707070;
            }
          }

          .center {
            margin-left: 30rpx;
            color: #707070;
            font-size: 24rpx;
            max-width: 200rpx;
            white-space: warp;
          }

          .right_box {
            margin-left: auto;

            .time {
              color: #EC5938;
              font-size: 24rpx;
              margin-bottom: 10rpx;
              text-align: center;
            }

            .button {
              background-color: #EC5938;
              color: #fff;
              padding: 20rpx 30rpx;
              border-radius: 60rpx;
              font-size: 27rpx;
              font-weight: 900;
              white-space: nowrap;
              width: 100rpx;
              text-align: center;
            }
          }
        }
      }

      .abnormal_course_list {
        background-color: #D8E9E3;

        .item {
          background-color: #fff;
        }
      }

      .reward_list {
        background-color: #FFEBD0;
        position: relative;
        padding-top: 60rpx;
        margin-bottom: 100rpx;

        .month_line {
          display: flex;
          align-items: center;
          justify-content: center;

          .month {
            font-size: 125rpx;
            font-weight: 900;
            position: relative;

            .text {
              font-size: 24rpx;
              position: absolute;
              right: -20rpx;
              top: 0;
            }
          }

          .arrow {
            width: 35rpx;
            height: 35rpx;
          }
        }

        .amount_line {
          margin-top: 60rpx;
          padding: 10rpx 0;
          display: flex;

          .amount_item {
            flex: 1;
            text-align: center;

            &:nth-child(1) {
              border-right: 2rpx solid #827F7C;
            }

            .amount {
              font-weight: 900;
              font-size: 55rpx;
            }

            .amount_add {
              font-size: 25rpx;
            }
          }
        }

        .deduction_list {
          margin-top: 50rpx;
          padding-bottom: 20rpx;

          .deduction_item {
            margin: 0 13rpx;
            padding: 50rpx 30rpx;
            background-color: #fff;
            border-radius: 20rpx;
            margin-bottom: 30rpx;

            .top_line {
              display: flex;
              justify-content: space-between;
              border-bottom: 1rpx solid #707070;
              padding-bottom: 40rpx;

              .time {
                color: #707070;
              }

              .amount {
                color: #EC5938;
              }
            }

            .bottom_line {
              display: flex;
              justify-content: space-between;
              margin-top: 80rpx;

              .bottom_left {
                .name {
                  font-size: 30rpx;
                }

                .price {
                  font-size: 24rpx;
                  margin-top: 35rpx;
                  color: #707070;
                }
              }

              .bottom_right {
                .reason {
                  color: #EC5938;
                  font-size: 35rpx;
                }

                .button {
                  background-color: #EC5938;
                  color: #fff;
                  padding: 20rpx 0;
                  text-align: center;
                  border-radius: 50rpx;
                  margin-top: 10rpx;
                }
              }
            }
          }
        }
      }
    }
  }
}

.schedule_box {
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 1000;
  height: 40vh;
  width: 65vw;
  background-color: #fff;
  box-shadow: 0rpx 0rpx 10rpx rgba(0, 0, 0, 0.3);
  border-radius: 20rpx;
  font-size: 30rpx;

  .title {
    background: #D8E9E3;
    padding: 20rpx;
    border-radius: 20rpx 20rpx 0 0;
    text-align: center;
    font-weight: 900;
  }

  .content {
    padding: 20rpx 30rpx;
  }

  radio {
    .wx-radio-input {
      width: 25rpx;
      height: 25rpx;
    }
  }

  .schedule_radios {
    display: flex;
    justify-content: space-between;
  }

  .schedule_date_picker {
    margin-top: 30rpx;
  }

  .foot_line {
    display: flex;
    justify-content: space-between;
    position: absolute;
    bottom: 0;
    width: 100%;

    .foot_button {
      flex: 1;
      text-align: center;
      line-height: 60rpx;
      font-size: 30rpx;
      font-weight: 900;
    }

    .button_ok {
      background-color: #D8E9E3;
    }

    .button_cancel {
      border-top: 1rpx solid #D8E9E3;
    }
  }
}

.info_line {
  display: flex;
  font-size: 22rpx;
  color: #707070;
  margin-top: 30rpx;
  align-items: center;

  view {
    flex: 1;
  }
}

.fifth_card {
  background-color: #FFF9EB;
  margin-bottom: 100rpx;

  .search_item {
    display: flex;
    align-items: center;
    width: 100%;
  }

  .content_input {
    width: 100%;
    border: solid 1rpx #707070;
    border-radius: 50rpx;
    padding: 5rpx 20rpx;
    font-size: 22rpx;
  }

  .button {
    background-color: #4AA568;
    color: #fff;
    padding: 10rpx 20rpx;
    border-radius: 60rpx;
    font-size: 27rpx;
    font-weight: 900;
    white-space: nowrap;
    width: 175rpx;
    text-align: center;
  }

  .student_info {
    .top_box {
      background: #fff;
      padding: 50rpx 30rpx;
      margin: 10rpx 15rpx;
      display: block;
    }
  }

  .course_list {
    padding: 0 15rpx;

    .course_item {
      color: #707070;
      font-size: 24rpx;
      padding: 20rpx 0;
      border-bottom: 1rpx solid #AFACA6;

      .name {
        color: #000000;
        font-size: 31rpx;
      }

      .ads {
        margin-top: 20rpx;
      }
    }
  }
}

.button_item {
  margin-top: 20rpx;
  display: flex;
  justify-content: space-between;
}